Determines whether two types, a generic parameter type and a current type, are equal.

Namespace: Keystone.Polaris
Assembly: Keystone (in Keystone.dll)

public static bool Is<TToCompare>( 
this Type type 
)
This language is not supported or no code example is available.

Type Parameters

TToCompare

The generic parameter type to test against the current type.

Parameters

type

Type: Type

The current type to test for equality.

Return Value

true if the types are equal, false otherwise.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono